#include<stdio.h>
#include<conio.h>
void main()
{
	char alphabet;
	int ASCII;

	clrscr();

	printf("\n\n\t\tEnter any Character: ");
	alphabet = getche();


	ASCII = alphabet;


	if ((ASCII >= 65) && (ASCII <= 90))
	{
		printf("\n\n\n\t\tEntered Character is a Capital Letter");
		printf("\n\n\n\t\tASCII value = %d", ASCII);
	}

	if((ASCII >= 97) && (ASCII <= 122))
	{
		printf("\n\n\n\t\tEntered Character is a Small Letter");
		printf("\n\n\n\t\tASCII value = %d", ASCII);
	}

	if((ASCII >= 48) && (ASCII <= 57))
	{
		printf("\n\n\n\t\tEntered value is numeric number");
		printf("\n\n\n\t\tThe ASCII value of Entered numeric number is = %d",ASCII);
	}


	if(ASCII >= 0 && ASCII <= 47 || ASCII >= 58 && ASCII <= 64
	||ASCII >= 91 && ASCII <= 96||ASCII >= 123 && ASCII <= 127)

		printf("\n\n\n\t\tIt is a Special Symbol");

  //	else
	//	printf("\n\n\n\t\tIt is a functional key");


	getch();
}